﻿using Microsoft.AspNetCore.Mvc;

namespace Demo.Controllers;

public class Demo2Controller : Controller
{
    /// <summary>
    /// 
    /// </summary>
    /// <returns></returns>
    public IActionResult index()
    {
        return View();
    }
    /// <summary>
    /// 
    /// </summary>
    /// <param name="id"></param>
    /// <returns></returns>
    public IActionResult Detail(long id)
    {
        return View();
    }
    /// <summary>
    /// 获取job日志
    /// </summary>
    /// <param name="data"></param>
    /// <returns></returns>
    [HttpPost]
    public async Task<dynamic> GetData()
    {
        throw new ArgumentNullException("测试哈哈");
        //RuoVea.ExUtil.Check.IsNotEmpty("", "ggggggg");
        //return "kkkkkkkk";
    }
}